libxl, Introduce the command line handler for the new qemu.
authorAnthony Perard <anthony.perard@citrix.com>
Mon, 9 Aug 2010 15:46:01 +0000 (16:46 +0100)
committerAnthony Perard <anthony.perard@citrix.com>
Mon, 9 Aug 2010 15:46:01 +0000 (16:46 +0100)
commit2d50ecfbf6aca65552d6864c80c00116f81230af
treeb4a270ab235bfdfa1f03b8c3e281d85163be86f5
parentadf97edda203ed6e48134029c0acc00164bb5934
libxl, Introduce the command line handler for the new qemu.
From: Anthony PERARD <anthony.perard@citrix.com>

This patch adds a function to check the version of the device model.
Depending on the version of the DM, the command line arguments will be
built differently.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
 tools/libxl/libxl.c       |  160 ++++++++++++++++++++++++++++++++++++++++++++-
 tools/libxl/libxl_utils.c |   78 ++++++++++++++++++++++
 tools/libxl/libxl_utils.h |    6 ++
 3 files changed, 243 insertions(+), 1 deletions(-)
tools/libxl/libxl.c
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h